﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace CommonApp
{
    public static class RH
    {
        public static MvcHtmlString Put(dynamic value)
        {
            return Put(value, string.Empty);
        }

        public static MvcHtmlString Put(dynamic value, string alternative)
        {
            if (value != null)
                return new MvcHtmlString(value.ToString());
            return new MvcHtmlString(alternative);
        }
    }
}
